<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="__STATIC__/bs/css/bootstrap.css">
    <script type="text/javascript" src="__STATIC__/bs/js/jquery.min.js"></script>
    <script type="text/javascript" src="__STATIC__/bs/js/bootstrap.js"></script>
    <link rel="stylesheet" type="text/css" href="__STATIC__/bs/validform/style.css">
    <script type="text/javascript" src="__STATIC__/bs/validform/Validform_v5.3.2_min.js"></script>
    <script type="text/javascript" src="__STATIC__/js/admin/adminManage/adminEdit.js"></script>
</head>
<body>

<div class="container">
    <h2 class="text-center">用户修改</h2>
    <form id="myForm" action="/admin_manage/{$data.id}" method="post" class="form-horizontal" >

        <input type="hidden" name="_method" value="PUT">
        <div class="form-group">
            <label  class="col-sm-2 col-sm-offset-2 control-label">用户名：</label>
            <div class="col-sm-4">
                <p class="form-control-static">{$data.userName}</p>
            </div>
        </div>
        <div class="form-group">
            <label for="passWord" class="col-sm-2 col-sm-offset-2 control-label">密码：</label>
            <div class="col-sm-4">
                <input type="password" name="passWord" id="passWord" class="form-control" value="{$data.passWord}">
            </div>
            <div class="col-sm-4">
                <span class="Validform_checktip">密码为4~8位字符</span>
            </div>
        </div>
        <div class="form-group">
            <label for="passWord_ck" class="col-sm-2 col-sm-offset-2 control-label">确认密码：</label>
            <div class="col-sm-4">
                <input type="password" name="passWord_ck" id="passWord_ck" class="form-control" value="{$data.passWord}">
            </div>
            <div class="col-sm-4">
                <span class="Validform_checktip"></span>
            </div>
        </div>
        <div class="form-group">
            <label for="name" class="col-sm-2 col-sm-offset-2 control-label">姓名：</label>
            <div class="col-sm-4">
                <input type="text" id="name" name="name" class="form-control" value="{$data.name}">
            </div>
            <div class="col-sm-4">
                <span class="Validform_checktip">姓名为2~8位字符</span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 col-sm-offset-2 control-label">
                <input class="btn btn-success btn-block" type="submit" value="更新">
            </label>
            <label class="col-sm-2 control-label">
                <input class="btn btn-warning btn-block" type="reset" value="重置">
            </label>
        </div>
    </form>
</div>
</body>
</html>